package com.lineng.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lineng.pojo.PartyBuilding;
import com.lineng.pojo.PartyBuildingExample;

public interface PartyBuildingMapper {
	long countByExample(PartyBuildingExample example);

	int deleteByExample(PartyBuildingExample example);

	int deleteByPrimaryKey(String id);

	int insert(PartyBuilding record);

	int insertSelective(PartyBuilding record);

	List<PartyBuilding> selectByExampleWithBLOBs(PartyBuildingExample example);

	List<PartyBuilding> selectByExample(PartyBuildingExample example);

	PartyBuilding selectByPrimaryKey(String id);

	int updateByExampleSelective(@Param("record") PartyBuilding record, @Param("example") PartyBuildingExample example);

	int updateByExampleWithBLOBs(@Param("record") PartyBuilding record, @Param("example") PartyBuildingExample example);

	int updateByExample(@Param("record") PartyBuilding record, @Param("example") PartyBuildingExample example);

	int updateByPrimaryKeySelective(PartyBuilding record);

	int updateByPrimaryKeyWithBLOBs(PartyBuilding record);

	int updateByPrimaryKey(PartyBuilding record);

	int updatePartyBuildingReader(int reader);
}